package com.fanshilz.flower2025.business.sys.sysRouteMeta.entity;

import com.fanshilz.flower2025.framework.mybatisflex.BaseEntity;
import com.fanshilz.flower2025.framework.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 实体类。
 *
 * @author fugui
 * @since 2024-10-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "sys_route_meta", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class SysRouteMeta extends BaseEntity {

    @Id(keyType = KeyType.Auto)
    private Long metaId;

    private Long routeId;

    private String title;

    private String icon;

    private Boolean expanded;

    private Integer orderNo;

    private Boolean hidden;

    private Boolean hiddenBreadcrumb;

    private Boolean single;

    private Boolean keepAlive;

    private String frameSrc;

    private Boolean frameBlank;

}
